package com.hyjoy.service;

import com.hyjoy.entity.User;

/**
 * Created by hyjoy on 2018/4/5.
 */
public interface UserService {
    void regist(User user) throws Exception;

    User active(String code) throws Exception;

    User login(String username, String password) throws Exception;
}
